package com.mobileagri.backoffice.dao;

import java.util.List;

import com.mobileagri.backoffice.model.AbstractObject;

/**
 * 
 * @author LOUVET Romain
 * 
 * @param <E>
 */
public interface IDAO<E> {

	List<E> getAll(int start, int limit);

	List<E> getAll();

	void delete(int id);

	AbstractObject save(AbstractObject o);

	int getTotal();

}
